from django import forms
from contacts.models import *

class PersonForm(forms.ModelForm):
    class Meta: 
        model = Person

class ContactForm(forms.ModelForm):
    class Meta: 
        model = Contact

class ContactToPersonForm(forms.ModelForm):
    class Meta: 
        model = Contact
        fields = ('type', 'value')
        
class ContactTypeForm(forms.ModelForm):
    class Meta: 
        model = ContactType
